﻿namespace Crm.Plugins.DuplicateChecker.Domain{
    /// <summary>
    /// Holds the configuration information needed by the <c>DuplicateHandler</c>.
    /// </summary>
    public class CrmConfiguration{
        /// <summary>
        /// Gets or sets the name of the entity to check for duplicates.
        /// </summary>
        /// <value>The name of the entity.</value>
        public string EntityName { get; set; }

        /// <summary>
        /// Gets or sets the key attribute name for the entity.
        /// </summary>
        /// <value>The key attribute.</value>
        public string KeyAttribute { get; set; }
    }
}